<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>(Re-)initialize Eio</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.eio-init" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">eio_init</h1>
  <p class="verinfo">(PECL eio = 1.0.0)</p><p class="refpurpose"><span class="refname">eio_init</span> &mdash; <span class="dc-title">(Re-)initialize Eio</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.eio-init-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>eio_init</strong></span>
    ( <span class="methodparam">void</span>
   ) : <span class="type"><span class="type void">void</span></span></div>

  <p class="para rdfs-comment">
   <span class="function"><strong>eio_init()</strong></span> (re-)initializes Eio. It allocates memory for internal structures of libeio and Eio itself. You may call <span class="function"><strong>eio_init()</strong></span> before using Eio functions. Otherwise it will be called internally first time you invoke an Eio function in a process.
  </p>
  <p class="para">
   <div class="warning"><strong class="warning">Warning</strong>
    <p class="simpara">
     本过时特性<em class="emphasis">将</em>肯定会在未来被<em class="emphasis">移除</em>。
     Since Eio <em class="emphasis">1.1.0</em> <span class="function"><strong>eio_init()</strong></span> is deprecated. In Eio <em class="emphasis">1.0.0</em> because of <a href="http://pod.tst.eu/http://cvs.schmorp.de/libeio/eio.pod#FORK_SUPPORT" class="link external">&raquo;&nbsp;<em class="emphasis">libeio</em>&#039;s restrictions</a> you <em class="emphasis">must</em> call <span class="function"><strong>eio_init()</strong></span> in child process, if you fork one by any means. You have to avoid using Eio in parent process, if you use it in childs.
    </p>
   </div>
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.eio-init-parameters">
  <h3 class="title">参数</h3>
  <p class="para">此函数没有参数。</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.eio-init-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   没有返回值。
  </p>
 </div>

</div></div></div></body></html>